<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<jsp:useBean id="instance" scope="request"
	class="bean.SubmitRecipeBean" />
<jsp:setProperty property="*" name="instance" />
<jsp:useBean id="user" scope="request"
	class="bean.UserBean" />
<jsp:setProperty property="*" name="user" />
<%
	if ("true".equals(request.getParameter("process"))) {
%>
<jsp:forward page="/SubmitRecipeServlet" />
<%
	}
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<form method="post" action=<%= request.getRequestURI() %>>
<input type="text" name="recipeName" value="1">
<input type="text" name="recipeDescription" value="2">
<input type="text" name="description" value="3">
<input type="text" name="origin" value="3">
<input type="text" name="nickName" value="3">
<input type="text" name="age" value="3">
<input type="text" name="sex" value="m">
<input type="text" name="country" value="3">
<input type="submit" value="Call" />
<input type="hidden" name="process" value="true" />
</form>
</body>
</html>